home *** CD-ROM | disk | FTP | other *** search
/ AOL File Library: 9,300 to 9,399 / 9300.zip / AOLDLs / HTML & Web Tools (MAC) / HTML_ MTX Web Publishing Tool / MTX Tool 1.3.sit / MTX Tool 1.3 / guide / docs / heading.mtx < prev    next >
Text File  |  1996-02-21  |  2KB  |  50 lines

  1. %TITLE Headings as Links and Anchors
  2. %IMAGES ../images/
  3. %HOMEURL http://www.med.ufl.edu/medinfo/
  4. %PARENT Table of Contents
  5. %PARENTURL index.html
  6. %INDEX View MTX File
  7. %INDEXURL heading.mtx
  8. %PREVURL anatomy.html
  9. %NEXTURL float.html
  10. %AUTHOR Richard Rathe / rrathe@ufl.edu
  11. %AUTHURL rrathe@ufl.edu
  12. %VERSION MTX 1.3 User's Manual / Copyright 1996 by the University of Florida
  13. %PATH http://www.med.ufl.edu/medinfo/mtx/docs/
  14. %MTX 1.3
  15.  
  16. #Introduction
  17.  
  18. It is possible to use section headings as {#links to other pages and as
  19. destination anchors#terminol.html#ANCHOR#} for links. A linked heading will
  20. appear in the table of contents but {*not*} in the document itself. An anchored
  21. heading allows you to link to a particular section from within the {#same
  22. page##ANCHOR#} or from another document. In either case, the syntax is similar to
  23. embedded hypertext links and anchors.
  24.  
  25. #Linked Headings
  26.  
  27. To link a heading, add a pound sign (#) and a {#relative or complete
  28. URL#terminol.html#URL#} after the heading text:
  29.  
  30. =  #A Linked Heading#link.html
  31.  
  32. This link will appear in the table of contents at the top of the document. It
  33. will {*not*} appear as a section heading in the body of the document.
  34.  
  35. #Example Link#picture.html
  36.  
  37. #Anchored Headings#=ANCHOR
  38.  
  39. To use a heading as an anchor, add a pound sign (#), an equal sign (=), and a
  40. unique name for the anchor:
  41.  
  42. =  #An Anchored Heading#=ANCHOR
  43.  
  44. The heading text will appear as a section heading and in the table of contents as
  45. it normally would. To link directly to the heading, create a link of the form:
  46.  
  47. =  ▓#Link to Section##ANCHOR#│ or ▓#Link to Section#myfile.html#ANCHOR#│
  48.  
  49. Note that anchor names are case sensitive ("ANCHOR" does not equal "anchor").
  50.